package com.bsoft.gol.hcs.specialist.bean.response;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 手术记录Response
 * @author lanyu
 * @date 2021年10月22日 10:35
 */
public class OperativeRecordResponse implements Serializable {
    /**
     * 手术code
     */
    private String operativeCode;
    /**
     * 手术记录id
     */
    private String operativeRecordId;
    /**
     * 手术名称
     */
    private String operativeName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh_CN", timezone = "GMT+8")
    private Date operativeTime;

    /**
     * 手术时间集合
     */
    private List<OperativeTimeList> operativeTimeList;


    public String getOperativeCode() {
        return operativeCode;
    }

    public void setOperativeCode(String operativeCode) {
        this.operativeCode = operativeCode;
    }

    public String getOperativeRecordId() {
        return operativeRecordId;
    }

    public void setOperativeRecordId(String operativeRecordId) {
        this.operativeRecordId = operativeRecordId;
    }

    public String getOperativeName() {
        return operativeName;
    }

    public void setOperativeName(String operativeName) {
        this.operativeName = operativeName;
    }

    public Date getOperativeTime() {
        return operativeTime;
    }

    public void setOperativeTime(Date operativeTime) {
        this.operativeTime = operativeTime;
    }

    public List<OperativeTimeList> getOperativeTimeList() {
        return operativeTimeList;
    }

    public void setOperativeTimeList(List<OperativeTimeList> operativeTimeList) {
        this.operativeTimeList = operativeTimeList;
    }

    /**
     * 手术时间list
     */
    public static class OperativeTimeList {
        private String operativeRecordId;
        private String operativeName;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh_CN", timezone = "GMT+8")
        private Date operativeTime;

        public String getOperativeRecordId() {
            return operativeRecordId;
        }

        public void setOperativeRecordId(String operativeRecordId) {
            this.operativeRecordId = operativeRecordId;
        }

        public String getOperativeName() {
            return operativeName;
        }

        public void setOperativeName(String operativeName) {
            this.operativeName = operativeName;
        }

        public Date getOperativeTime() {
            return operativeTime;
        }

        public void setOperativeTime(Date operativeTime) {
            this.operativeTime = operativeTime;
        }
    }
}
